package com.vdm.dao;

import com.vdm.model.SalesmanInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SalesmanInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SalesmanInfo record);

    int insertSelective(SalesmanInfo record);

    SalesmanInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SalesmanInfo record);

    int updateByPrimaryKey(SalesmanInfo record);

    List<SalesmanInfo> salesmanInfoList();

    List<SalesmanInfo> getAllSalesmanInfo();

    int getSalesmanInfoCount();

    int updateSalesmanInfoStatus(@Param("ids") List<Integer> ids, @Param("type") Integer type);
}